<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>xinghuiMS</title>

<style type="text/css">
	table{font-size:12px}
	img{border:0px}	
	a:link {font-size:12px; text-decoration:none; color:#186B86;}
	a:visited {font-size:12px; text-decoration:none; color:#186B86;}
	a:hover {font-size:12px; text-decoration:none; color:#D86406;}
	
	.navPoint { color:white; cursor:hand; font-family:Webdings; font-size:9pt } 
	.navWall { color:white; cursor:hand; }
</style>

</head>

<script>

function goPages(menuId)
{
	menuFrm.document.location.href = "leftPage?menuId="+menuId;
	//mainFrm.document.location.href = "mainPage";
}

function switchBar()
{
	if(navigator.appName == "Netscape")
	{
		
	}else
	{
		if(document.all("menuFrmTd").style.display=="none")
		{
			document.all("menuFrmTd").style.display = "";
		}else
		{
			document.all("menuFrmTd").style.display = "none";
		}
	}
} 

</script>

<body bgcolor="#ffffff" scroll="no" style="font-size:12px; margin:0px; overflow-y:hidden;">

<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
	<tr><td colspan="3" height="12px" bgcolor="#000000" style="line-height:12px;padding-left:5px;padding-bottom:1px"><img src="../imagesmain/grayMei.gif"></td></tr>

	<tr>
		<td width="1px" bgcolor="#000000"></td>
		
		<td>
			<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
			
				<!--content-->
				<tr>
					<td>
				    	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
					      <tr>
			
					        <td>
					        	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
					        		<tr>
					        			<td height="61" background="../imagesmain/grayTitle1.jpg" style="border-bottom:solid 1px #b6b6b6">
					        				<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
			
			                                    <tr valign="bottom">
			                                    	<td width="15" height="45">&nbsp;</td>
			                                        <td width="52" rowspan="2" align="right"><img src="../imagesmain/grayLogo.gif"></td> 
			                                        <td width="5">&nbsp;</td> 
			                                        <td style="padding-bottom:2px" width="170"><img src="../imagesmain/graySystemName.gif"></td>
			                                        <td width="100">&nbsp;</td>                                                                         
			                                        <g:each in="${session.menu1}" status="idx" var="menu">                                                                        
			                                        	<td width="50" style="padding-bottom:3px"><a href="javascript:goPages('${menu.id}')" style="color:#000000">${ menu.menuname?.encodeAsHTML() }</a></td>
			                                        	<td width="19" align="center" style="padding-bottom:4px"><img src="../imagesmain/grayGe1.gif"></td>
			                                        </g:each>
			                                        <td width="50" style="padding-bottom:3px"><a href="#" onclick="return false;" style="color:#000000">系统帮助</a></td>
			                                        <td>&nbsp;</td>
			                                        <td width="110" align="right" valign="top"  style="padding-right:16px"><a href="javascript:top.document.location.href='../login/index'"><img src="../imagesmain/grayExitBtn.gif"></a></td>                                
			                                    </tr>
			                                    
			                                    <tr>
			                                        <td style="padding-left:3px"><img src="../imagesmain/grayThinbarShu2.gif"></td>
			                                        <td>&nbsp;</td>
			                                    	<td colspan="28">
			                							<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
			                								<tr>
			                                    				<td><img src="../imagesmain/grayZheng.gif"></td>
			                                    				<td width="83" align="right" style="padding-right:12px"><img src="../imagesmain/grayThinbarRight.gif" width="125" height="15" border="0" usemap="#Map"></td> 
			                								</tr>
			                							</table>
			                                    	</td>
			
			                                    </tr>
					        				</table>
					        			</td>		        				
					        		</tr>
					        		<!--
					        		<tr><td height="16px" background="../imagesmain/grayThinBar.jpg" style="border-bottom:solid 1px #b6b6b6">&nbsp;</td></tr>
					        		-->
					        		<tr>
					        			<td>
					        				<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="0">
					        					<tr>
												    <td id="menuFrmTd" name="menuFrmTd" width="155" align="center" valign="top" nowrap style="border-right:solid 1px #cdcdcd">
														<iframe name="menuFrm" height="100%" width="155" src="leftPage?menuId=1" border="0" frameborder="0" scrolling="no">
															浏览器不支持iframe
														</iframe>	
													</td>
			
												    <td align="center" valign="top">
												    	<iframe name="mainFrm" height="100%" width="100%" border="0" frameborder="0" src="mainPage" scrolling="auto"> 
												    		浏览器不支持iframe
												    	</iframe>
												    </td>
									    		</tr>
									    	</table>
										</td>
					        		</tr>
					        		
					        		
					        	</table>
					        </td>
			
					      </tr>
				    	</table>
					</td>
				</tr>
				<!-- end content-->
				
				
				<tr>
					<td height="23">
				    	<table width="100%" border="0" cellspacing="0" cellpadding="0" background="../imagesmain/grayBottom.gif">
					      <tr>
							<td width="132" style="padding-left:15px"><img src="../imagesmain/grayBottomFlag.gif"></td>
							<td width="16"><img src="../imagesmain/grayBottomShu.gif"></td>
					        <td width="175" style="padding-left:12px;padding-top:3px">
					        	<span style="font-size:12px;color:#525252">当前用户：${session.realname}</span>
					        </td>
					        <td>&nbsp;</td>
					        <td width="170" align="right" style="padding-top:2px;padding-right:8px">
					        	<span style="font-size:12px;font-family:'宋体';color:#525252">
						        	日期：<script language="JavaScript">
									function showTime()
									{
										var dd = new Date();
										var year = dd.getFullYear();
										var month = dd.getMonth()+1;
										var date = dd.getDate();
										document.write(year+"年"+month+"月"+date+"日&nbsp;");
										
										if (dd.getDay() == 0) document.write("星期日")
										if (dd.getDay() == 1) document.write("星期一")
										if (dd.getDay() == 2) document.write("星期二")
										if (dd.getDay() == 3) document.write("星期三")
										if (dd.getDay() == 4) document.write("星期四")
										if (dd.getDay() == 5) document.write("星期五")
										if (dd.getDay() == 6) document.write("星期六")
									}							
									showTime();
									</script>
					        	</span>
					        </td>
					        <td width="18"><img src="../imagesmain/grayBottomJiao.gif"></td>
					      </tr>
				    	</table>
					</td>
				</tr>
					
				
			</table>
		</td>
		
		<td width="2px" bgcolor="#000000"></td>
	</tr>
	
	<tr><td colspan="3" height="2px" bgcolor="#000000" style="line-height:2px">&nbsp;</td></tr>

</table>
	


<map name="Map" id="Map"><area shape="rect" coords="3,3,34,13" href="javascript:top.document.location.href='../frame/totalPage'" /><area shape="rect" coords="44,3,77,13" href="mailto:linxinghui@163.com" /><area shape="rect" coords="88,3,121,13" href="javascript:alert('形辉管理信息系统 版本1.0\n版权所有(C) 2009-2011 林形辉')" /></map>

</body>
</html>